package com.gxa.mapper;

import com.gxa.common.R;
import com.gxa.entity.DistrictSysUser;
import com.gxa.entity.SysActionLog;

import java.util.List;

public interface DistrictSysUserMapper {
    /**
     * 根据账号查询区域用户
     * @param nickName
     * @return
     */
    DistrictSysUser findSysUserByNickname(String nickName);


    /**
     * 查询权限列表
     * @param id
     * @return
     */
    List findPermissionByUserId(int id);

    /**
     * 添加登录日志
     * @param sysActionLog
     * @return
     */
    int addSysActionLog(SysActionLog sysActionLog);
}
